package com.yellowpage.omc.datacollect.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.SEQUENCE;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * DataVerify entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "OMC_DATA_VERIFY")
public class DataVerify implements java.io.Serializable {

	// Fields

	private Long dataVerifyId;
	private Long dataCollectId;
	private String verifyResult;
	private String name;
	private String link;
	private String icon;
	private String telType;
	private String tel;
	private String city;
	private String class01;
	private String class02;
	private String info;
	private String addr;
	private String fax;
	private String tel02;
	private String status;
	private Long createUser;
	private Date createTime;
	private Long lastUpdateUser;
	private Date lastUpdateTime;
	private String note;
	private String regionCode;
	
	private Long listId;
	private String custId;
	private Long addrId;
	private String optType;

	// Constructors

	/** default constructor */
	public DataVerify() {
	}

	/** full constructor */
	public DataVerify(Long dataCollectId, String verifyResult, String name,
			String link, String icon, String telType, String tel, String city,
			String class01, String class02, String info, String addr,
			String fax, String tel02, String status, Long createUser,
			Date createTime, Long lastUpdateUser, Date lastUpdateTime,
			String note, String regionCode, Long listId, String optType) {
		this.dataCollectId = dataCollectId;
		this.verifyResult = verifyResult;
		this.name = name;
		this.link = link;
		this.icon = icon;
		this.telType = telType;
		this.tel = tel;
		this.city = city;
		this.class01 = class01;
		this.class02 = class02;
		this.info = info;
		this.addr = addr;
		this.fax = fax;
		this.tel02 = tel02;
		this.status = status;
		this.createUser = createUser;
		this.createTime = createTime;
		this.lastUpdateUser = lastUpdateUser;
		this.lastUpdateTime = lastUpdateTime;
		this.note = note;
		this.regionCode = regionCode;
		this.listId = listId;
		this.optType = optType;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "DATA_VERIFY_ID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getDataVerifyId() {
		return this.dataVerifyId;
	}

	public void setDataVerifyId(Long dataVerifyId) {
		this.dataVerifyId = dataVerifyId;
	}

	@Column(name = "DATA_COLLECT_ID", precision = 18, scale = 0)
	public Long getDataCollectId() {
		return this.dataCollectId;
	}

	public void setDataCollectId(Long dataCollectId) {
		this.dataCollectId = dataCollectId;
	}

	@Column(name = "VERIFY_RESULT", length = 2)
	public String getVerifyResult() {
		return this.verifyResult;
	}

	public void setVerifyResult(String verifyResult) {
		this.verifyResult = verifyResult;
	}

	@Column(name = "NAME", length = 2)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "LINK", length = 1024)
	public String getLink() {
		return this.link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	@Column(name = "ICON", length = 1024)
	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	@Column(name = "TEL_TYPE", length = 16)
	public String getTelType() {
		return this.telType;
	}

	public void setTelType(String telType) {
		this.telType = telType;
	}

	@Column(name = "TEL", length = 32)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "CITY", length = 32)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "CLASS01", length = 32)
	public String getClass01() {
		return this.class01;
	}

	public void setClass01(String class01) {
		this.class01 = class01;
	}

	@Column(name = "CLASS02", length = 32)
	public String getClass02() {
		return this.class02;
	}

	public void setClass02(String class02) {
		this.class02 = class02;
	}

	@Column(name = "INFO", length = 1024)
	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	@Column(name = "ADDR", length = 512)
	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	@Column(name = "FAX", length = 32)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "TEL02", length = 32)
	public String getTel02() {
		return this.tel02;
	}

	public void setTel02(String tel02) {
		this.tel02 = tel02;
	}

	@Column(name = "STATUS", length = 2)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "CREATE_USER", precision = 18, scale = 0)
	public Long getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME", length = 7)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "LAST_UPDATE_USER", precision = 18, scale = 0)
	public Long getLastUpdateUser() {
		return this.lastUpdateUser;
	}

	public void setLastUpdateUser(Long lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "LAST_UPDATE_TIME", length = 7)
	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
	
	@Column(name = "REGION_CODE", length = 6)
	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	@Column(name = "LIST_ID", precision = 18, scale = 0)
	public Long getListId() {
		return listId;
	}

	public void setListId(Long listId) {
		this.listId = listId;
	}

	@Column(name = "CUST_ID", length = 16)
	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}	

	@Column(name = "ADDR_ID", precision = 18, scale = 0)
	public Long getAddrId() {
		return addrId;
	}

	public void setAddrId(Long addrId) {
		this.addrId = addrId;
	}
	
	@Column(name = "OPT_TYPE", length = 18)
	public String getOptType() {
		return optType;
	}

	public void setOptType(String optType) {
		this.optType = optType;
	}

}